#collections{
    height: 100%;
}
.head{
display: flex;
align-items: center;
background: white;
height: 6rem;
position: fixed;
top: constant(safe-area-inset-top);
top: env(safe-area-inset-top);
background: white;
/* width: 90%; */
height: 5.5rem;
text-align: center;
z-index: 2;
padding: 0px 1rem;
box-sizing: border-box;
margin: 1rem 0px;
border-radius: 0.5rem;
left: 1rem;
right: 1rem;
z-index: 4;
}
.content{
margin-top: constant(safe-area-inset-top);
margin-top: env(safe-area-inset-top); 
position: relative;
padding-top: 5.5rem;
box-sizing: border-box;
overflow:auto;
width: 100%;
height: 100%;
}
.title_content{
height: 40rem;
padding: 1rem 1rem;
display: flex;
align-items: center;
justify-content: center;
flex-flow: column;
background: white;
margin: 1rem 1rem;
border-radius: 0.5rem;
overflow: hidden;
}
.measure{
width: 0px;
overflow: hidden;
z-index: -1;
position: absolute;
}
.title_content_head{
display: flex;
align-items: start;
justify-content: start;
padding: 1rem 1rem;
box-sizing: border-box;
width: 100%;
padding-top: 2rem;
flex-flow: column;

}
.collection{
flex: 1;
}
.titles{
flex: 1;
/* display: flex; */
height: 100%;
align-items: center;
font-size: 1.4rem;
box-sizing: border-box;
}
.title{
white-space: nowrap;
font-size: 2.5rem;
}
.count{
font-size: 1.8rem;
margin-top: 0.5rem;
color: gray;
}
.back{
font-size: 1rem;
margin-right: 1rem;
width: 4rem;
height: 4rem;
white-space: nowrap;
border-radius: 0.8rem;
display: flex;
align-items: center;
justify-content: center;
background: #ebebeb5c;
color: #404040;
}

.collection{
width: 100%;
height: 100%;
overflow-x: auto;
overflow-y: hidden;
display: grid;
grid-auto-flow: column;
grid-template-rows: 33.33% 33.33% 33.33%;
/* padding-bottom: 1rem; */
box-sizing: border-box;
position: relative;
}
.collection_item{
height: 100%;
padding: 1px;
box-sizing: border-box;
width: 10rem;
object-fit: cover;
}
.collection_item_img {
height: 100%;
display: block;
width: 100%;
object-fit: cover;
}
.loadingCollection{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0px;
    left: 0px;
    background: #eeeeee41;
}